package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.Map;


/**
 * 实体
 * 表名 api_call_bill
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-05-01 23:09:45
 */
public class ApiCallBillVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //接听者
    private Long tvAnchor;
    private Map<String, Object> UserTvAnchor;
    //拨打者
    private Long consumer;
    private Map<String, Object> UserConsumer;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //1拨出 2 接听
    private Integer mode;
    //1接通 2未接通 3拒接 4取消通话
    private Long status;
    //通话时长
    private Long talkTime;
    //亲密值
    private BigDecimal intimacy;
    //消费窝币
    private BigDecimal consumption;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Map<String, Object> getUserTvAnchor() {
        return UserTvAnchor;
    }

    public ApiCallBillVo setUserTvAnchor(Map<String, Object> userTvAnchor) {
        UserTvAnchor = userTvAnchor;
        return this;
    }

    public Map<String, Object> getUserConsumer() {
        return UserConsumer;
    }

    public ApiCallBillVo setUserConsumer(Map<String, Object> userConsumer) {
        UserConsumer = userConsumer;
        return this;
    }

    /**
     * 设置：
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置：主播id
     */
    public void setTvAnchor(Long tvAnchor) {
        this.tvAnchor = tvAnchor;
    }

    /**
     * 获取：主播id
     */
    public Long getTvAnchor() {
        return tvAnchor;
    }

    /**
     * 设置：消费会员
     */
    public void setConsumer(Long consumer) {
        this.consumer = consumer;
    }

    /**
     * 获取：消费会员
     */
    public Long getConsumer() {
        return consumer;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置：1拨出 2 接听
     */
    public void setMode(Integer mode) {
        this.mode = mode;
    }

    /**
     * 获取：1拨出 2 接听
     */
    public Integer getMode() {
        return mode;
    }

    /**
     * 设置：1接通 2未接通 3拒接
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 获取：1接通 2未接通 3拒接
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 设置：通话时长
     */
    public void setTalkTime(Long talkTime) {
        this.talkTime = talkTime;
    }

    /**
     * 获取：通话时长
     */
    public Long getTalkTime() {
        return talkTime;
    }

    /**
     * 设置：亲密值
     */
    public void setIntimacy(BigDecimal intimacy) {
        this.intimacy = intimacy;
    }

    /**
     * 获取：亲密值
     */
    public BigDecimal getIntimacy() {
        return intimacy;
    }

    /**
     * 设置：消费窝币
     */
    public void setConsumption(BigDecimal consumption) {
        this.consumption = consumption;
    }

    /**
     * 获取：消费窝币
     */
    public BigDecimal getConsumption() {
        return consumption;
    }

}
